package com.kehutong.charge.entity;

import java.util.List;
import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;
import com.kehutong.charge.util.enums.ChargeUrgingEnum;
import com.kehutong.charge.util.enums.UrgingTypeEnum;
import com.kehutong.common.entity.DataEntity;

/**
 * @program: kht
 * @description: ChargeFeeConfig
 * @author: joneron
 * @create: 2021/6/29
 **/
@Table(value="t_charge_urging_manage", comment="催费管理表",multi = true, idType = IDType.TIMESTAMP, engine = "innodb")
public class ChargeUrgingManage extends DataEntity {

    private static final long serialVersionUID = 2077382466938115575L;

    protected ChargeUrgingManage(String id) {
        super(id);
    }

    @Column(comment="催费编号")
    private String urgingNo;

    @Column(comment="小区编号")
    private String communityNo;

    @Column(comment="公司编号")
    private String companyNo;

    @Column(comment="小区名称")
    private String communityName;

    @Column(comment="房屋编号")
    private String houseNo;

    @Column(comment="账单编号")
    private String houseBillNo;

    @Column(comment="总人数")
    private int urgingTotal;

    @Column(comment="成功人数")
    private int urgingSuccess;

    @Column(comment="失败人数")
    private int urgingFail;

    @Column(comment="接收人员")
    private ChargeUrgingEnum receiptPro;

    @Column(comment="指定接收人员手机号")
    private String receiptMobile;

    @Column(comment="指定接收人员手机号列表", dbType = "TEXT", length = 65535)
    private List<String> receiptMobileList;

    @Column(comment="指定接收人员[房间号-用户ID]", dbType = "TEXT", length = 65535)
    private List<String> receiptHouseUserList;

    @Column(comment="催费人员集合")
    private List<String> receiptList;

    @Column(comment="消息模板id")
    private String messageNo;

    @Column(comment="消息模板内容", length = 256)
    private String messageText;

    @Column(comment="催缴方式")
    private UrgingTypeEnum urgingTypeMsg;

    @JSONField(serialize = false)
    @Column(comment = "逻辑删除")
    private boolean deleted;

    @Column(comment = "创建人")
    private String createName;

    @Column(comment = "修改人")
    private String updateName;

    public String getHouseNo() {
        return houseNo;
    }

    public void setHouseNo(String houseNo) {
        this.houseNo = houseNo;
    }

    public String getHouseBillNo() {
        return houseBillNo;
    }

    public void setHouseBillNo(String houseBillNo) {
        this.houseBillNo = houseBillNo;
    }

    public String getMessageText() {
        return messageText;
    }

    public void setMessageText(String messageText) {
        this.messageText = messageText;
    }

    public List<String> getReceiptList() {
        return receiptList;
    }

    public void setReceiptList(List<String> receiptList) {
        this.receiptList = receiptList;
    }

    public String getUrgingNo() {
        return urgingNo;
    }

    public void setUrgingNo(String urgingNo) {
        this.urgingNo = urgingNo;
    }

    public String getCommunityNo() {
        return communityNo;
    }

    public void setCommunityNo(String communityNo) {
        this.communityNo = communityNo;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public int getUrgingTotal() {
        return urgingTotal;
    }

    public void setUrgingTotal(int urgingTotal) {
        this.urgingTotal = urgingTotal;
    }

    public int getUrgingSuccess() {
        return urgingSuccess;
    }

    public void setUrgingSuccess(int urgingSuccess) {
        this.urgingSuccess = urgingSuccess;
    }

    public int getUrgingFail() {
        return urgingFail;
    }

    public void setUrgingFail(int urgingFail) {
        this.urgingFail = urgingFail;
    }

    public ChargeUrgingEnum getReceiptPro() {
        return receiptPro;
    }

    public void setReceiptPro(ChargeUrgingEnum receiptPro) {
        this.receiptPro = receiptPro;
    }

    public String getMessageNo() {
        return messageNo;
    }

    public void setMessageNo(String messageNo) {
        this.messageNo = messageNo;
    }

    public UrgingTypeEnum getUrgingTypeMsg() {
        return urgingTypeMsg;
    }

    public void setUrgingTypeMsg(UrgingTypeEnum urgingTypeMsg) {
        this.urgingTypeMsg = urgingTypeMsg;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    public String getReceiptMobile() {
        return receiptMobile;
    }

    public void setReceiptMobile(String receiptMobile) {
        this.receiptMobile = receiptMobile;
    }

    public String getCompanyNo() {
        return companyNo;
    }

    public void setCompanyNo(String companyNo) {
        this.companyNo = companyNo;
    }

    public List<String> getReceiptMobileList() {
        return receiptMobileList;
    }

    public void setReceiptMobileList(List<String> receiptMobileList) {
        this.receiptMobileList = receiptMobileList;
    }

    public List<String> getReceiptHouseUserList() {
        return receiptHouseUserList;
    }

    public void setReceiptHouseUserList(List<String> receiptHouseUserList) {
        this.receiptHouseUserList = receiptHouseUserList;
    }
}
